package my.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.graduation.dto.*;
import my.graduation.entity.ExaminationRecord;
import my.graduation.result.Result;
import my.graduation.vo.AlertPaidVO;
import my.graduation.vo.DataVO;
import my.graduation.vo.ExaminationRecordVO;

import java.sql.Timestamp;
import java.util.List;
import java.util.Queue;

/**
 * @Author: RavenLyn
 * @Date: 2025-02-26
 */
public interface ExaminationRecordService extends IService<ExaminationRecord> {
    Result addRecord(PrescribeDto dto);

    Result<List<ExaminationRecord>> patGetUnpaidlist(ExamRecordDto dto);

    Result<List<ExaminationRecord>> patGetAlllist(ExamRecordDto dto);

    Result<ExaminationRecord> getExamCurrentRecord(ExamRecordDto dto);

    Boolean updateStatus(Integer orderId, Integer status);

    Boolean paySuccess(Integer integer, Integer paid, Timestamp timestamp);

    Result checkFinished(ExamRecordDto dto);

    Result<List<Queue<ExaminationRecordVO>>> getQueues(QueueDto dto);

    Result<List<DataVO>> getRegData(DataDto dto);

    Result<List<AlertPaidVO>> getPaidData();

    void handleExpired();
}
